package com.yaodian100.core.sms.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.yaodian100.core.common.service.DomainService;
import com.yaodian100.core.sms.entity.Sms;

public interface SmsService extends DomainService<Sms> {

	public void sendSms(String caller, String smsMsg, String orderId);

	public boolean updateSmsResponse(Long msgId, String smsId, String responseCode, String reasonCode,
			String responseMessage, Date responseTime);

	public boolean receiveSmsDeliveryReport(String smsId, String statusCode, Date receiveTime, Date operatorTime,
			String reasonCode, String statusText);

	public boolean updateSmsResponse(Long msgId, String smsId, String responseCode, String reasonCode,
			String responseMessage, Date responseTime, String operator);

	public boolean receiveSmsDeliveryReport(String smsId, String statusCode, Date receiveTime, Date operatorTime,
			String reasonCode, String statusText, String operator);

	public List<Sms> querySmsByOrderId(String date);

	public List<Sms> queryEmergencySmsByDate(String date);
	
	public List<Map<String, Object>> getSmsExceptionData() ;
	
	public void smsExceptionNotification() ;

}
